﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.ModelBinding;

namespace Lk.Web.Models
{
    public class UserModel
    {

        [Required]
        public int Id { get; set; }

        [Required]
        public string Name { get; set; }
        [BindRequired]
        public int Age{ get; set; }
    }
}
